package app.quiz;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Created with IntelliJ IDEA.
 * User: Georgiana.Scarlat
 * Date: 8/10/12
 * Time: 3:16 PM
 */
public class HomeServlet extends GenericPatternServlet {

    static int questionIndex, score, elapsedTime;

    static String resultMessage;

    @Override
    protected boolean doSomeInitialProcessing(HttpServletRequest request, HttpServletResponse response) {
        questionIndex = score = 0;
        elapsedTime = 20;
        return true;
    }

    @Override
    protected void setHtmlFileName() {
        htmlFileName = "home.html";
    }


}
